home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Accelerator 10
/
HOMEWRLD.bin
/
BEHAV.CXT
/
00010_Script_ScollingGraphics Vertical behaviour
< prev
next >
Wrap
Text File
|
1999-03-23
|
443b
|
15 lines
--this behavior gets attached to a graphic that will scroll.
--works in conjuction with the ArrowButton Ver behaviour
on move me, whatDirection , whatDistance
--called from the "ArrowButton Ver"
--what direction is a symbol (#up or #Down)
if whatDirection = #Up then set whatDistance = whatDistance *-1
set the locV of sprite the CurrentSpriteNum to¼
the locV of Sprite The currentSpriteNUm + whatDistance
end